﻿#ifndef WLKOPERATOR_H
#define WLKOPERATOR_H

#include <QObject>
#include <dbHelper.h>
#include <QFile>
#include <QTextCodec>
#include <QFileDialog>

class WlkOperator : public QObject
{
    Q_OBJECT

public:
    WlkOperator();
    ~WlkOperator();

public:
    Q_INVOKABLE QVariantMap openWlkFile(bool local = false);        // jnn-增加参数local用于测试
    Q_INVOKABLE QVariantMap openWlkFile_getInfo();          // jnn-用于新建实验时的打开，返回前端实验信息和样本板信息
    Q_INVOKABLE QVariantMap getExperimentInfo(QString);
    Q_INVOKABLE QVariantList getSampleInfo(QString);
    Q_INVOKABLE void SaveResultInfo(QString);
    void SaveSampleInfo(QString);

private:
    QString localPath;

};


#endif // WLKOPERATOR_H
